/*********************************************************************
 *
 *  elksip - a multi-platform Sip Phone Server
 *
 *  file: elk_udp.h  socket
 *
 *  Copyright 2011-2014 Elksip.
 *
 ********************************************************************/
#ifndef _ELK_UDP_H_
#define _ELK_UDP_H_

#ifndef WIN32
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif

int udp_open(int port);
int SendMsg_Sa(const char *msg, const struct sockaddr *sa);
int sendMsg(const char *msg, unsigned int ip, unsigned short port);



#endif

